import requests,json

def turing(key,text):
    TL_url = 'http://openapi.turingapi.com/openapi/api/v2'
    params = {
    "reqType":0,
    "perception": {
        "inputText": {
            "text": "你觉得你聪明嘛"
        },
    },
    "userInfo": {
        "apiKey": "d5d5bb66f66d4da8bedb378df7adfa70",
        "userId": "767223"
    }
}
    r = requests.post(url = TL_url, data = json.dumps(params))
    return r.json()['results'][0]['values']['text']
